package com.yidu.DailyFinalTreatment.mapper;

import com.yidu.StockControl.entity.TAInventory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface TANetWorthMapper {
    /**
     * 查询TA数量方法
     * @param fundId
     * @param netWorthDate
     * @return
     */
    @Select("SELECT * FROM TAINVENTORY WHERE fundId=#{fundId} AND statisticsDate=#{netWorthDate}")
    public List<TAInventory> selectTaNum(String fundId, String netWorthDate);
}
